import paddle

loss = paddle.to_tensor([0.12345])
print(f'loss: {loss.numpy()[0]:.4f}')
